package com.apanal.qlife.sys.model;

import com.apanal.qlife.common.model.BaseModel;

/**
 * 一对一信息查看记录实体类
 * 
 * 
 * @author shuliangxing
 * 
 * @date 2015-11-2下午3:50:37
 */
public class Record extends BaseModel {
	/**
	 * 
	 */
	private static final long serialVersionUID = 2700749929329550997L;

	/**
	 * id
	 */
	private Integer recId;

	/**
	 * 类型所对应表的外键id,如报修投诉表id
	 */
	private Long foreignId;

	/**
	 * 类型 1:报修投诉 2:互动信息
	 */
	private Byte recType;

	/**
	 * 标记: 0:未读 1:已读(目前只放已读记录,方便以后扩展)
	 */
	private Boolean recFlag;

	public Integer getRecId() {
		return recId;
	}

	public void setRecId(Integer recId) {
		this.recId = recId;
	}

	public Long getForeignId() {
		return foreignId;
	}

	public void setForeignId(Long foreignId) {
		this.foreignId = foreignId;
	}

	public Byte getRecType() {
		return recType;
	}

	public void setRecType(Byte recType) {
		this.recType = recType;
	}

	public Boolean getRecFlag() {
		return recFlag;
	}

	public void setRecFlag(Boolean recFlag) {
		this.recFlag = recFlag;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	@Override
	public String toString() {
		return "Record [recId=" + recId + ", foreignId=" + foreignId
				+ ", recType=" + recType + ", recFlag=" + recFlag + "]";
	}

}